import VueRouter from 'vue-router';
import Goods from 'components/goods/goods.vue';
import Ratings from 'components/ratings/ratings.vue';
import Seller from 'components/seller/seller.vue';

export default new VueRouter({
  linkActiveClass: 'active',
  routes: [
    { path: '/', component: Goods, meta: { keepAlive: true } },
    { path: '/goods', component: Goods, meta: { keepAlive: true } },
    { path: '/ratings', component: Ratings, meta: { keepAlive: true } },
    { path: '/seller', component: Seller, meta: { keepAlive: true } }
  ]
});
